<?php
namespace haibao\cms\model\data;

class FeatureIni extends Base{
	const STATUS_ENABLE = 1;
	const STATUS_DISABLE = 0;
	
	const HEADER_DISABLE = 0;
	const HEADER_BLACK = 1;
	const HEADER_WHITE = 2;
	const HEADER_BLACK_FLOAT = 3;
	const HEADER_WHITE_FLOAT = 4;
	
	public $FeatureId;
	public $Title = '';
	public $Description = '';
	public $Keywords = '';
	public $Vote = self::STATUS_DISABLE;
	public $HaibaoHeader = self::HEADER_DISABLE;
	public $HaibaoBottom = self::STATUS_DISABLE;
	public $GoTop = self::STATUS_DISABLE;
	public $PcShare = self::STATUS_DISABLE;
	public $WeixinShare = self::STATUS_DISABLE;
	public $Dynamic = self::STATUS_DISABLE;
	public $Record = self::STATUS_DISABLE;
	public $WeixinShareTitle = '';
	public $WeixinShareDesc = '';
	public $WeixinShareImg = '';
	public $WeixinShareUrl = '';
	
	public function __construct(){
		parent::__construct();
		$this->intField('FeatureId', 'FeatureId',true);
		$this->stringfield('Title', 'Title',true);
		$this->stringField('Description', 'Description',true);
		$this->stringField('Keywords', 'Keywords',true);
		$this->intField('Vote', 'Vote',true);
		$this->intField('HaibaoHeader', 'HaibaoHeader',true);
		$this->intField('HaibaoBottom', 'HaibaoBottom',true);
		$this->intField('GoTop', 'GoTop',true);
		$this->intField('PcShare', 'PcShare',true);
		$this->intField('WeixinShare', 'WeixinShare',true);
		$this->intField('Dynamic', 'Dynamic',true);
		$this->intField('Record','Record',true);
		$this->stringfield('WeixinShareTitle', 'WeixinShareTitle',true);
		$this->stringField('WeixinShareDesc', 'WeixinShareDesc',true);
		$this->stringField('WeixinShareImg', 'WeixinShareImg',true);
		$this->stringField('WeixinShareUrl', 'WeixinShareUrl',true);
		
		$this->setTableName('FeatureIni');
	}
	
}